package com.leinao.model.model;

import java.io.Serializable;

/**
 * @Auther: weiwei
 * @Date: 2019/6/3 20:54
 * @Description:    模型实体类
 * @Version 1.0
 */
public class Model implements Serializable {

    /**
      * 模型Id
      */
    private Long id;

    /**
     * 模型创建人Id
     */
    private String userId;

    /**
     * 模型名称
     */
    private String modelName;

    /**
     * 模型简介
     */
    private String modelIntroduction;

    /**
     * 模型编程语音
     */
    private String language;

    /**
     * 模型大小
     */
    private Long modelSize;

    /**
     * 模型算法框架
     */
    private String framework;

    /**
     * 模型output路径
     */
    private String outputPath;

    /**
     * 模型删除标记
     */
    private Integer delFlag;

    /**
     * 模型创建时间
     */
    private Long createTime;

    /**
     * 模型更新时间
     */
    private Long updateTime;

    private Integer useNum;

    private String userName;

    private Integer attentionNum;

    private String modelCover;

    private Integer type;

    private Boolean personal;

    private String username;

    /**
     * 用户account
     */
    private String account;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelIntroduction() {
        return modelIntroduction;
    }

    public void setModelIntroduction(String modelIntroduction) {
        this.modelIntroduction = modelIntroduction;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getFramework() {
        return framework;
    }

    public void setFramework(String framework) {
        this.framework = framework;
    }

    public String getOutputPath() {
        return outputPath;
    }

    public void setOutputPath(String outputPath) {
        this.outputPath = outputPath;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getModelSize() {
        return modelSize;
    }

    public void setModelSize(Long modelSize) {
        this.modelSize = modelSize;
    }

    public Integer getUseNum() {
        return useNum;
    }

    public void setUseNum(Integer useNum) {
        this.useNum = useNum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAttentionNum() {
        return attentionNum;
    }

    public void setAttentionNum(Integer attentionNum) {
        this.attentionNum = attentionNum;
    }

    public String getModelCover() {
        return modelCover;
    }

    public void setModelCover(String modelCover) {
        this.modelCover = modelCover;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Boolean getPersonal() {
        return personal;
    }

    public void setPersonal(Boolean personal) {
        this.personal = personal;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "Model{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", modelName='" + modelName + '\'' +
                ", modelIntroduction='" + modelIntroduction + '\'' +
                ", language='" + language + '\'' +
                ", modelSize=" + modelSize +
                ", framework='" + framework + '\'' +
                ", outputPath='" + outputPath + '\'' +
                ", delFlag=" + delFlag +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", useNum=" + useNum +
                ", userName='" + userName + '\'' +
                ", attentionNum=" + attentionNum +
                ", modelCover='" + modelCover + '\'' +
                ", type=" + type +
                ", personal=" + personal +
                ", username='" + username + '\'' +
                ", account='" + account + '\'' +
                '}';
    }
}
